package base

import (
	"fmt"
)

func Test() {
	var a, b = 1, 2
	var c, d = 1, 1.2

	fmt.Println(a < b)
	fmt.Println(a > b)

	fmt.Println(1 < 1.2)
	fmt.Println(1 + 1.2)

	fmt.Println(float64(c) < d)
	fmt.Println(float64(c) + d)

	switch {
	case a < b:
		fmt.Println("a<b")
	case a <= b:
		fmt.Println("a<=b")
	case a == b:
		fmt.Println("a==b")
	case a != b:
		fmt.Println("a!= b")
	}

}
